﻿//#include "mytrendcharthistory_p.h"

//MyTrendChartHistoryPrivate::MyTrendChartHistoryPrivate()
//    : dataDisplayNumber(10),
//      chartTimeDisplayPattern(XType::Bottom)
//{

//}

//MyTrendChartHistoryPrivate::~MyTrendChartHistoryPrivate()
//{

//}

//MyTrendChartHistory::MyTrendChartHistory()
//    : d(new MyTrendChartHistoryPrivate)
//{

//}

//MyTrendChartHistory::~MyTrendChartHistory()
//{
//    delete d;
//}

///*!
//    \property MyTrendChart::dataDisplayNumber
//    \brief the number of the data display window

//    The imageLayer is the layer of the widget.

//    The default dataDisplayNumber is 10.

//    \sa indent
//*/
//int MyTrendChartHistory::getDataDisplayNumber() const
//{
//    return d->dataDisplayNumber;
//}

//void MyTrendChartHistory::setDataDisplayNumber(int number)
//{
//    if(d->dataDisplayNumber == number)
//        return;
//    d->dataDisplayNumber = number;
//}

///*!
//    \property MyTrendChart::chartTimeDisplayPattern
//    \brief the pattern of the data display time

//    The default chartTimeDisplayPattern is Bottom.

//    \sa indent
//*/
//XType::ChartTimeDisplayPattern MyTrendChartHistory::getChartTimeDisplayPattern() const
//{
//    return d->chartTimeDisplayPattern;
//}

//void MyTrendChartHistory::setChartTimeDisplayPattern(XType::ChartTimeDisplayPattern pattern)
//{
//    if(d->chartTimeDisplayPattern == pattern)
//        return;
//    d->chartTimeDisplayPattern = pattern;
//}















